package org.small.shop.phone.api.process.ordergoods.pojo;

import java.math.BigDecimal;
import javax.persistence.*;

@Table(name = "tbl_wx_order_goods")
public class TblWxOrderGoods {
    /**
     * 订单详细id
     */
    @Id
    @Column(name = "ord_good_id")
    private Integer ordGoodId;

    /**
     * 订单id
     */
    @Column(name = "ord_id")
    private String ordId;

    /**
     * 商品id
     */
    @Column(name = "goods_id")
    private Integer goodsId;

    /**
     * 商品规格id
     */
    @Column(name = "sku_id")
    private Integer skuId;

    /**
     * 商品数量
     */
    @Column(name = "goodsNum")
    private Integer goodsnum;

    /**
     * 商品价格
     */
    @Column(name = "goodsPrice")
    private BigDecimal goodsprice;

    /**
     * 获取订单详细id
     *
     * @return ord_good_id - 订单详细id
     */
    public Integer getOrdGoodId() {
        return ordGoodId;
    }

    /**
     * 设置订单详细id
     *
     * @param ordGoodId 订单详细id
     */
    public void setOrdGoodId(Integer ordGoodId) {
        this.ordGoodId = ordGoodId;
    }

    /**
     * 获取订单id
     *
     * @return ord_id - 订单id
     */
    public String getOrdId() {
        return ordId;
    }

    /**
     * 设置订单id
     *
     * @param ordId 订单id
     */
    public void setOrdId(String ordId) {
        this.ordId = ordId;
    }

    /**
     * 获取商品id
     *
     * @return goods_id - 商品id
     */
    public Integer getGoodsId() {
        return goodsId;
    }

    /**
     * 设置商品id
     *
     * @param goodsId 商品id
     */
    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * 获取商品规格id
     *
     * @return sku_id - 商品规格id
     */
    public Integer getSkuId() {
        return skuId;
    }

    /**
     * 设置商品规格id
     *
     * @param skuId 商品规格id
     */
    public void setSkuId(Integer skuId) {
        this.skuId = skuId;
    }

    /**
     * 获取商品数量
     *
     * @return goodsNum - 商品数量
     */
    public Integer getGoodsnum() {
        return goodsnum;
    }

    /**
     * 设置商品数量
     *
     * @param goodsnum 商品数量
     */
    public void setGoodsnum(Integer goodsnum) {
        this.goodsnum = goodsnum;
    }

    /**
     * 获取商品价格
     *
     * @return goodsPrice - 商品价格
     */
    public BigDecimal getGoodsprice() {
        return goodsprice;
    }

    /**
     * 设置商品价格
     *
     * @param goodsprice 商品价格
     */
    public void setGoodsprice(BigDecimal goodsprice) {
        this.goodsprice = goodsprice;
    }
}